package sync.hw.demo02;

/**
 * @author lwj
 * @date 2025-03-12
 * @vesion 1.0.0
 */
public class UserInfo {
    /**
     * 姓名
     */
    private String name;
    /**
     * 打印的内容
     */
    private char[] content;

    // 构造方法
    public UserInfo() {}
    public UserInfo(String name, char[] content) {
        this.name = name;
        this.content = content;
    }

    // 属性
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char[] getContent() {
        return content;
    }

    public void setContent(char[] content) {
        this.content = content;
    }
}
